package com.peas.platform.module.icims.budget.statistics.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.DepartmentPerformanceRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.po.DepartmentPerformancePo;
import com.peas.platform.module.icims.budget.statistics.domain.DepartmentPerformanceDomain;
import com.peas.platform.module.icims.budget.statistics.dto.DepartmentPerformanceDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DepartmentPerformanceDomainImpl extends BaseDomainImpl<DepartmentPerformanceDto, DepartmentPerformancePo> implements DepartmentPerformanceDomain {

    @Resource
    private DepartmentPerformanceRepository departmentPerformanceRepository;

    @Override
    public BaseRepository<DepartmentPerformancePo> getMapper() {
        return departmentPerformanceRepository;
    }

    @Override
    public Class<? extends BaseRepository<DepartmentPerformancePo>> getRepositoryClass() {
        return DepartmentPerformanceRepository.class;
    }

}
